<?php

  require_once "JooS/Event.php";

  /**
   * Слушатель события - JooS_PHPackager_DOM_Element_Package::addProperty
   *
   * @property JooS_CodeGenerator_Property $property
   */
  final class JooS_Event_Phpackager_Package_Property_Create extends JooS_Event {
    /**
     * @param JooS_CodeGenerator_Property $property
     * @return JooS_Event_Phpackager_Package_Property_Create 
     */
    public function setProperty(JooS_CodeGenerator_Property $property) {
      $this->property = $property;
      return $this;
    }

    /**
     * @return JooS_Event_Phpackager_Package_Property_Create
     */
    public static function getInstance() {
      return self::_getInstance(__CLASS__);
    }
  }
